import { memberlist } from "../../../request/api"
const state = {
    vvipList: []
}
const getters = {
    getVvip(state) {
        return state.vvipList
    }
}
const mutations = {
    REQ_GETVVIP(state, payload) {
        return state.vvipList = payload
    }
}
const actions = {
    getvvipAction({ commit }) {
        memberlist().then(res => {
            commit('REQ_GETVVIP', res.list)
        })
    }
}
export default {
    state, getters, mutations, actions,
    namespaced: true
}